import request from '@/utils/request'

// 查询参股基金-出资详情列表
export function listBfCapital(query) {
  return request({
    url: '/bf/bfCapital/list',
    method: 'get',
    params: query
  })
}

// 查询参股基金-出资详情详细
export function getBfCapital(id) {
  return request({
    url: '/bf/bfCapital/' + id,
    method: 'get'
  })
}

// 保存参股基金-出资详情
export function saveBfCapital(data) {
  return request({
    url: '/bf/bfCapital/save',
    method: 'post',
    data: data
  })
}

// 删除参股基金-出资详情
export function delBfCapital(id) {
  return request({
    url: '/bf/bfCapital/' + id,
    method: 'delete'
  })
}

// 导出参股基金-出资详情
export function exportBfCapital(query) {
  return request({
    url: '/bf/bfCapital/export',
    method: 'get',
    params: query
  })
}
